package com.tbit.uqbike.object.pojo;

import com.tbit.uqbike.object.value.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 骑行订单修改记录(RideOrderMoneyOpeLog)实体类
 *
 * @author jing
 * @since 2020-11-20 16:20:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RideOrderMoneyOpeLog implements Serializable {
    private static final long serialVersionUID = 196442245355214023L;
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 订单编号
     */
    private String orderNO;
    /**
     * 旧金额
     */
    private Integer oldMoney;
    /**
     * 新金额
     */
    private Integer newMoney;
    /**
     * 操作时间
     */
    private Date operaTime;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 用户手机号码
     */
    private String userPhone;
    /**
     * 操作用户id
     */
    private Integer accountUserId;
    /**
     * 操作用户手机号码
     */
    private String accountUserPhone;
    /**
     * 操作备注
     */
    private String operaRemark;

    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 开始页
     */
    private Integer pageNO;
    /**
     * 数量
     */
    private Integer rowCount;

    private Page page;


    public RideOrderMoneyOpeLog(Integer accountId, String orderNO, Integer oldMoney, Integer userId, String userPhone, Integer accountUserId, String accountUserPhone) {
        this.accountId = accountId;
        this.orderNO = orderNO;
        this.oldMoney = oldMoney;
        this.userId = userId;
        this.userPhone = userPhone;
        this.accountUserId = accountUserId;
        this.accountUserPhone = accountUserPhone;
    }
}